package com.ruoyi.passenger.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 手机号临时黑名单对象 tb_passenger_temp_blacklist
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TbPassengerTempBlacklist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 临时记录唯一ID */
    @Excel(name = "临时记录唯一ID")
    private Long tempId;

    /** 乘客手机号码 */
    @Excel(name = "乘客手机号码")
    private String passengerPhone;

    /** 加入黑名单原因 */
    @Excel(name = "加入黑名单原因")
    private String reason;

    /** 解禁时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "解禁时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date liftTime;

    /** 状态（1-有效；0-无效） */
    @Excel(name = "状态", readConverterExp = "1=-有效；0-无效")
    private Long tempStatus;

    public void setTempId(Long tempId) 
    {
        this.tempId = tempId;
    }

    public Long getTempId() 
    {
        return tempId;
    }

    public void setPassengerPhone(String passengerPhone) 
    {
        this.passengerPhone = passengerPhone;
    }

    public String getPassengerPhone() 
    {
        return passengerPhone;
    }

    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }

    public void setLiftTime(Date liftTime) 
    {
        this.liftTime = liftTime;
    }

    public Date getLiftTime() 
    {
        return liftTime;
    }

    public void setTempStatus(Long tempStatus) 
    {
        this.tempStatus = tempStatus;
    }

    public Long getTempStatus() 
    {
        return tempStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tempId", getTempId())
            .append("passengerPhone", getPassengerPhone())
            .append("reason", getReason())
            .append("liftTime", getLiftTime())
            .append("tempStatus", getTempStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
